doctype transitional
html(xmlns='http://www.w3.org/1999/xhtml', lang='en', xml:lang='en')
  head
    meta(name='viewport', content='width=device-width')
    meta(http-equiv='Content-Type', content='text/html; charset=UTF-8')
    title= subject
    link(rel="stylesheet", href="../../../public/css/template-reset.css", data-inline)
    link(rel="stylesheet", href="../../../public/css/template-markdown.css", data-inline)
    link(rel="stylesheet", href="main.css", data-inline)
  body
    table.body(border='0', cellpadding='0', cellspacing='0')
      tr
        td
          div.container
            .content
              table.main.header(border='0', cellpadding='0', cellspacing='0')
                tr
                  td
                    a.logo(href="https://github.com/chuangker/nice-mail", target="_blank")
                        img(src="../../../public/images/logo.png", alt="logo")
                        p Nice Mail
                    div.info
                      p.title.text-center !{fields.title}
                      div.hr
                      p.desc.text-center !{fields.subtitle}
                    div.slots
                      img(src="landing-kitty.png", alt="")
              table.main.markdown(border='0', cellpadding='0', cellspacing='0')
                tr
                  td
                    .markdown-body !{content}
                tr
                  td.footer
                    img.avatar(src= fields.avatar)
                    p.nice-name !{fields.nickName}
                    p.desc !{fields.desc}
                    a.copyright(href="https://github.com/chuangker/nice-mail", target="_blank") @Nice Mail
